package com.ph.monitorPlatform.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zuohongyu
 * @since 2020-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_view")
public class View implements Serializable {

    private static final long serialVersionUID=1L;

    private BigDecimal viewId;

    private String viewName;

    private String viewTitle;

    private String viewType;

    private String protectLevel;

    private String content;

    private String creator;

    private LocalDateTime createdate;

    private String updator;

    private LocalDateTime updatedate;

    private String viewImg;

    public View() {
    }

    public View(String viewName, String viewTitle, String viewType, String protectLevel, String content, String creator, LocalDateTime createdate, String viewImg) {
        this.viewName = viewName;
        this.viewTitle = viewTitle;
        this.viewType = viewType;
        this.protectLevel = protectLevel;
        this.content = content;
        this.creator = creator;
        this.createdate = createdate;
        this.viewImg = viewImg;
    }
}
